package com.weixing.mall.provider.model.enums;

import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;

;

/**
 * @Author wx
 * @Date 2019/9/16 16:26
 * @Version 1.0
 */

@NoArgsConstructor
public enum IsOverRunEnum implements IBaseEnum<Integer> {
    //0、未超限 1、超限
    OVER(1,"超限"),
    NOT_OVER(0,"未超限")
    ;
    private int value;
    private String desp;

    IsOverRunEnum(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }

}
